repo: Document ostree_repo_sign_commit(), and add introspection data
authorColin Walters <walters@verbum.org>
Mon, 20 Jan 2014 17:13:37 +0000 (12:13 -0500)
committerColin Walters <walters@verbum.org>
Mon, 20 Jan 2014 17:13:37 +0000 (12:13 -0500)
The important bit for introspection is (allow-none) on the homedir.

src/libostree/ostree-repo.c

index 372becd8fce33132fab9824d050dbf52f92280fa..2309a8620f57fd9ef3e0e4b8d37af844b68ead1c 100644 (file)
@@ -1478,6 +1478,17 @@ ostree_repo_pull (OstreeRepo               *self,
 }
 #endif
 
+/**
+ * ostree_repo_sign_commit:
+ * @self: Self
+ * @commit_checksum: SHA256 of given commit to sign
+ * @key_id: Use this GPG key id
+ * @homedir: (allow-none): GPG home directory, or %NULL
+ * @cancellable: A #GCancellable
+ * @error: a #GError
+ *
+ * Add a GPG signature to a commit.
+ */
 gboolean
 ostree_repo_sign_commit (OstreeRepo     *self,
                          const gchar    *commit_checksum,